// 弹出层表格样式
.tableClass{
  .tableP{
    margin-bottom: 10px;
  }
  table{
    margin: 0 0 20px 0;
    text-align: left;
    border-collapse:collapse;
    border-spacing: 0;
    width: 100%;
    &:last-child{
      margin-bottom: 0;
    }
    th{
      width: 115px;
      height: 21px;
      font-weight: normal;
      padding: 6px 15px;
      background: #eef1f1;
      border: 1px $color-line solid;
      word-break:keep-all;
    }
    td{
      padding: 6px 15px;
      border: 1px $color-line solid;
      >div {
        width: 240px;
      }
      .address{
        border: none;
      }
      >.select-com {
        padding:0;
      }
      .select-com{
        height: 21px;
        line-height: 21px;
      }
      select{
        border: none;
        padding: 0;
        height: 20px;
        line-height: 20px;
        width: 80px;
      }
      >textarea{
        @include input-n(710px);
        height: 50px;
      }
      input{
        vertical-align: top;
      }
      .date-input{
        border: none;
        width: 100%;
        height: 21px;
        padding: 0;
      }
    }
    .ellipsis{
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    .normal{
      white-space: normal;
    }
    .pd0{
      padding: 0 15px;
    }
    .money-orange{
      color: #fe763a
    }
    .width20{
      width: 20px;
    }
    .width35{
      width: 35px;
    }
    .width70{
      width: 70px;
    }
    .width100{
      width: 100px;
    }
    .width110{
      width: 110px;
    }
    .width140{
      width: 140px;
    }
    .width410{
      width: 410px;
    }
    .width740{
      width: 740px;
    }
    .width960{
      width: 960px;
      @include ellipsis
    }
  }
}
.tableClass-layered{
  .tableP{
    margin-bottom: 10px;
  }
  table{
    margin: 0 0 20px 0;
    text-align: left;
    border-collapse:collapse;
    border-spacing: 0;
    border: 1px $color-line solid;
    border-right: 0;
    width: 100%;
    &:last-child{
      margin-bottom: 0;
    }
    tr{
      &:nth-child(2n){
        background: #fbfcfc
      }
      th{
        width: 115px;
        height: 21px;
        font-weight: normal;
        padding: 6px 15px;
        background: #eef1f1;
        border: 1px $color-line solid;
        word-break:keep-all;
      }
      td{
        padding: 6px 15px;
        border-right: 1px $color-line solid;
        >div {
          width: 240px;
        }
        .address{
          border: none;
        }
        >.select-com {
          padding:0;
        }
        .select-com{
          height: 21px;
          line-height: 21px;
        }
        select{
          border: none;
          padding: 0;
          height: 20px;
          line-height: 20px;
          width: 80px;
        }
        >textarea{
          @include input-n(710px);
          height: 50px;
        }
        input{
          vertical-align: top;
        }
        .date-input{
          border: none;
          width: 100%;
          height: 21px;
          padding: 0;
        }
      }
      .ellipsis{
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
      .normal{
        white-space: normal;
      }
      .pd0{
        padding: 0 15px;
      }
      .money-orange{
        color: #fe763a
      }
      .width20{
        width: 20px;
      }
      .width35{
        width: 35px;
      }
      .width70{
        width: 70px;
      }
      .width100{
        width: 100px;
      }
      .width110{
        width: 110px;
      }
      .width140{
        width: 140px;
      }
      .width410{
        width: 410px;
      }
      .width740{
        width: 740px;
      }
      .width960{
        width: 960px;
        @include ellipsis
      }
    }
  }
}
// 打印表格样式
.print-see{
  width: 1050px;
  >table{
    margin: 0 0 20px 0;
    text-align: left;
    border-collapse:collapse;
    border-spacing: 0;
    &:last-child{
      margin-bottom: 0;
    }
    th{
      height: 21px;
      font-weight: normal;
      padding: 3px 8px;
      background: $color-bg;
      border: 1px #999 solid;
    }
    td{
      word-break:break-all;
      padding: 3px 7px;
      border: 1px #999 solid;
    }
  }
}
// 表格列表
.table{
  padding:0 20px 20px 20px;
  .checkeds{
    vertical-align: text-top;
  }
  table{
    width: 100%;
    table-layout:fixed;
    font-size: $font-size-small;
    background: #fff;
    border: 1px $color-line solid;
    border-right: 0;
    tr{
      line-height: 40px;
      border-bottom: 1px $color-line solid;
      border-right: 1px $color-line solid;
      &:nth-child(2n){
        background: #fbfcfc
      }
      th{
        border-bottom: 1px $color-line solid;
        border-right: 1px $color-line solid;
        text-align: left;
        padding: 0 16px;
        background: #eef1f1;
        font-weight: normal;
      }
      td{
        border-right: 1px $color-line solid;
        width:100%;
        word-break:keep-all;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
        padding: 0 16px;
        .icon-warning{
          font-size: $font-size-small;
          color: $color;
          margin-right: 8px;
        }
        a{
          color: $color;
          width:100%;
          @include ellipsis
        }
        p{
          width:100%;
          @include ellipsis
        }
        input{
          width: 100%;
          @include input-n()
        }
      }
      .handle-td{
        color: $color;
        margin-right: 15px;
        cursor: pointer;
        &:last-child{
          margin-right: 0
        }
        &:hover{
          color: $color;
        }
      }
      .iconfont{
        font-size: $font-size-small;
      }
      .icon-nameCard{
        font-size: $font-size-base;
        color: $color;
        margin-right: 15px;
      }
      .icon-face{
        color: $color;
        font-size: $font-size-base;
        margin-right: 15px;
      }
      .icon-faceComparison{
        color: $color;
        font-size: $font-size-base;
      }
      .table_export{
        width: 90px;
        cursor: pointer;
        color: $color;
        text-align: right;
        &:hover{
          color: $color-hover;
        }
      }
    }
  }
}
